#
# class DictError:
#     def __str__(self):
#         return "hello"
#
#     def ul(self):
#         pass

#
# class Ts(dict):
#     def __str__(self):
#         # self.ul()
#         a = [1,2,3]
#         return str(a)
#
#     def ul(self):
#         for k,v in self.items():
#             print(k,v)
#     def list(self):
#         a = [4,5,6]
#
#
#
# # dict1 ={"name":[1,2,3],"password":"1223"}
#
# obj = Ts()
#
# obj["k"] = [1,2,3]
# obj["k2"] = [4,5,6]
# # print(obj)
# # print(obj.ul)
# # print(obj["k"])
# print(obj.list)

class Response(object):
    def __init__(self):
        self.status = True
        self.detail = None
        self.data = [11,22,33]

obj = Response()
obj.status
obj.detail
obj.detail
print(obj.__dict__)
